package com.neutech.entity;

import com.mybatisflex.annotation.Table;
import com.neutech.core.BaseEntity;
import java.io.Serializable;
import java.sql.Date;

import java.io.Serial;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.EqualsAndHashCode;

/**
 * 学生日志 实体类。
 *
 * @author Administrator
 * @since 2025-02-08
 */
@Data
@Builder
@NoArgsConstructor
@AllArgsConstructor
@EqualsAndHashCode(callSuper = true)
@Schema(description = "学生日志")
@Table("student_log")
public class StudentLog extends BaseEntity implements Serializable {

    @Serial
    private static final long serialVersionUID = 1L;

    /**
     * 学生id
     */
    @Schema(description = "学生id", type = "Integer")
    private Integer studentId;

    /**
     * 日期
     */
    @Schema(description = "日期", type = "Date")
    private Date date;

    /**
     * 班级id
     */
    @Schema(description = "班级id", type = "Integer")
    private Integer gradeId;

    /**
     * 难度指数
     */
    @Schema(description = "难度指数", type = "Integer")
    private Integer hardCord;

    /**
     * 课程内容
     */
    @Schema(description = "课程内容", type = "String")
    private String courseText;

    /**
     * 心情指数
     */
    @Schema(description = "心情指数", type = "Integer")
    private Integer moodCode;

    /**
     * 心情内容
     */
    @Schema(description = "心情内容", type = "String")
    private String moodText;

    /**
     * 写入日期
     */
    @Schema(description = "写入日期", type = "Date")
    private Date createDate;

    /**
     * 代码行数
     */
    @Schema(description = "代码行数", type = "Integer")
    private Integer lineCount;

}
